﻿using System.Runtime.Serialization;

namespace DosTexPrj.Core.Models
{
    [DataContract]
    public class OrderDetail : EntityBaseWithIntIDType
    {
        [DataMember]
        public virtual double MtQuantity { get; set; }

        [DataMember]
        public virtual double KgQuantity { get; set; }

        [DataMember]
        public virtual double Price { get; set; }

        [DataMember]
        public virtual double Weight { get; set; }

        [DataMember]
        public virtual double CuttableWidth { get; set; }

        [DataMember]
        public virtual FabricType FabricType { get; set; }

        [DataMember]
        public virtual string Color { get; set; }

        [DataMember]
        public virtual bool IsDone { get; set; }

        [DataMember]
        public virtual Composition Composition { get; set; }

        [DataMember]
        public virtual Order Order { get; set; }

        public OrderDetail() { }
    }
}